package com.hongxun.design.bean;

/**
 * Created by zerdoor_pc on 2016/5/24.
 */
public class ExplorationIos {
    public long exploration_id;
    public String exploration_type;
    public String number;
    public String uuid;
    public String name;
    public String TypeName;
    public long codeset_id;
    public long before_exp;
    public long pt_id;
    public long pt_type;
    public String point_type;
    public long pt_objectid;
    public double lng;
    public double lat;
    public double before_lng;
    public double before_lat;
    public float distance;
    public float corner;
    public double alt;
    public long schedule_id;
    public long location_way;
    public String user_name;
    public String create_time;
    public String id;
    public String jsonstring;
    public int icon;
    public int apapterStates = 0;


    public void setBean(Exploration b) {
        try {
            exploration_id = Long.parseLong(b.getExploration_id());
        } catch (Exception e) {
        }
        try {
            number = b.getNumber();
        } catch (Exception e) {
        }
        try {
            name = b.getName();
        } catch (Exception e) {
        }
        try {
            codeset_id = Long.parseLong(b.getCodeset_id());
        } catch (Exception e) {
        }
        try {
            before_exp = Long.parseLong(b.getBefore_exp());
        } catch (Exception e) {
        }


        try {
            pt_id = Long.parseLong(b.getPt_id());
        } catch (Exception e) {
        }
        try {
            pt_type = Long.parseLong(b.getPt_type());
        } catch (Exception e) {
        }
        try {
            pt_objectid = Long.parseLong(b.getPt_objectid());
        } catch (Exception e) {
        }
        try {
            lng = Double.parseDouble(b.getLng());
        } catch (Exception e) {
        }
        try {
            lat = Double.parseDouble(b.getLat());
        } catch (Exception e) {
        }
        try {
            before_lng = Double.parseDouble(b.getBefore_lng());
        } catch (Exception e) {
        }
        try {
            before_lat = Double.parseDouble(b.getBefore_lat());
        } catch (Exception e) {
        }
        try {
            distance = Float.parseFloat(b.getDistance());
        } catch (Exception e) {
        }
        try {
            corner = Float.parseFloat(b.getCorner());
        } catch (Exception e) {
        }
        try {
            alt = Double.parseDouble(b.getAlt());
        } catch (Exception e) {
        }
        try {
            schedule_id = Long.parseLong(b.getSchedule_id());
        } catch (Exception e) {
        }
        try {
            location_way = Long.parseLong(b.getLocation_way());
        } catch (Exception e) {
        }
        try {
            user_name = b.getUser_name();
        } catch (Exception e) {
        }
        try {
            create_time = b.getCreate_time();
        } catch (Exception e) {
        }
        try {
            id = b.getId();
        } catch (Exception e) {
        }
        try {
            jsonstring = b.getJsonstring();
        } catch (Exception e) {
        }
        try {
            icon = b.getIcon();
        } catch (Exception e) {
        }
        try {
            point_type = b.getPoint_type();
        } catch (Exception e) {
        }
        try {
            uuid = b.getUuid();
        } catch (Exception e) {
        }
        try {
            exploration_type = b.getExploration_type();
        } catch (Exception e) {
        }

    }
}
